package org.apache.commons.graph.algorithms.scc.internal

internal class TarjanVertexMetaInfo {
    var index: Int = UNDEFINED

    var lowLink: Int = UNDEFINED

    fun hasUndefinedIndex(): Boolean {
        return UNDEFINED == index
    }

    companion object {
        private const val UNDEFINED = -1
    }
}